package com.gcit.seniorWish.web.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 考生录取信息表
 * </p>
 *
 * @author hutao
 * @since 2018-03-23
 */

@TableName("admission_info")
public class AdmissionInfo  extends Model<AdmissionInfo>{
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id",type = IdType.UUID)
    private String id;

    /**
     * 准考证号
     */
    @TableField("exam_card_number")
    private String examCardNumber;
    /**
     * 学生名
     */
    @TableField("student_name")
    private String studentName;

    /**
     * 考场号
     */
    @TableField("exam_site_number")
    private String examSiteNumber;

    /**
     * 座位号
     */
    @TableField("seat_number")
    private String seatNumber;

    /**
     * 建档号
     */
    @TableField("archives_number")
    private String archivesNumber;

    /**
     * 录取学校代码
     */
    @TableField("enter_school_code")
    private String enterSchoolCode;

    /**
     * 录取学校名称
     */
    @TableField("enter_school_name")
    private String enterSchoolName;

    /**
     * 录取专业代码
     */
    @TableField("enter_class_code")
    private String enterClassCode;

    /**
     * 录取专业名称
     */
    @TableField("enter_class_name")
    private String enterClassName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill= FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private String createBy;

    /**
     * 更新时间
     */
    @TableField(value = "modify_time",fill = FieldFill.UPDATE)
    private Date modifyTime;

    /**
     * 录取专业
     */
    @TableField(value = "modify_by",fill = FieldFill.UPDATE)
    private String modifyBy;

    /**
     * 删除编辑
     */
    @TableField(value = "del_flag",fill = FieldFill.INSERT)
    @TableLogic
    private Integer delFlag;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public void setSeatNumber(String seatNumber) {
        this.seatNumber = seatNumber;
    }

    public void setExamSiteNumber(String examSiteNumber) {
        this.examSiteNumber = examSiteNumber;
    }

    public void setExamCardNumber(String examCardNumber) {
        this.examCardNumber = examCardNumber;
    }

    public void setArchivesNumber(String archivesNumber) {
        this.archivesNumber = archivesNumber;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public void setEnterClassCode(String enterClassCode) {
        this.enterClassCode = enterClassCode;
    }

    public void setEnterClassName(String enterClassName) {
        this.enterClassName = enterClassName;
    }

    public void setEnterSchoolCode(String enterSchoolCode) {
        this.enterSchoolCode = enterSchoolCode;
    }

    public void setEnterSchoolName(String enterSchoolName) {
        this.enterSchoolName = enterSchoolName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStudentName() {
        return studentName;
    }

    public String getSeatNumber() {
        return seatNumber;
    }

    public String getExamSiteNumber() {
        return examSiteNumber;
    }

    public String getExamCardNumber() {
        return examCardNumber;
    }

    public String getArchivesNumber() {
        return archivesNumber;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getEnterClassCode() {
        return enterClassCode;
    }

    public String getEnterClassName() {
        return enterClassName;
    }

    public String getEnterSchoolCode() {
        return enterSchoolCode;
    }

    public String getEnterSchoolName() {
        return enterSchoolName;
    }

    public String getId() {
        return id;
    }
}
